cc.Class({
    extends: cc.Component,

    properties: {

    },

    ctor () {
        this.playerNum = 5;
        this.players = [];
    },

    initPlayers () {
        for (var i = 0; i < this.playerNum; i++)
        {
            var p = {};
            p.cards = {nodes: []};
            p.chair = i;
            p.nick = "";
            p.userid = 0;
            p.status = 0;
            this.players.push(p);
        }
    },
});
